package com.xnew.common.utils;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName CacheUtils
 * @Description TODO
 * @Author 13503
 * @Date 2019/9/4 22:22
 * @Version 1.0
 **/
public class CacheUtil {

    public static Map<String,Object> map = new HashMap<>();

    public static void put(String key,Object obj){
        map.put(key,obj);
    }

    public static Object get(String key){
        return map.get(key);
    }


    public static Object remove(String key){
        return map.remove(key);
    }

    public static int sise(){
        return map.size();
    }
}
